package dao;

import entity.Member;
import entity.MemberAddress;

import java.util.List;

public interface MemberDao {
    int addMember(Member member);
    int addThreeMember();
    int delMemberFromName(String username);
    List<Member> selectMemberAll();
    List<Member> selectMemberWhereIf(int id, String username, String mobile);
    List<Member> selectMemberTrimChoose(int id, String username, String mobile);
    List<Member> selectMemberAndMemberAddressByMemberIdOneToOne(int id);
    List<Member> selectMemberAndMemberAddressByMemberIdOneToMore(int id);

}
